package router

import (
	"fx_swift_forex/internal/controller"
	"fx_swift_forex/pkg/middleware"
)

func UserRouter() {
	userApiVer := miniApiVer.Group("user", middleware.CheckAuth())
	{
		userApiVer.GET("signOut", controller.SignOut)
		userApiVer.POST("getAgentInfo", controller.GetAgentInfo)
		userApiVer.POST("updatePassword", controller.UpdatePassword)
		userApiVer.GET("setCurrency", controller.SetCurrency)
	}
}
